<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>无标题文档</title>
	<link href="/res/css/style.css" rel="stylesheet" type="text/css" />
	<link href="/res/js/lib/layer/skin/layer.css" rel="stylesheet" type="text/css" />
	<link href="/res/js/lib/layer/skin/layer.ext.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="/res/js/jquery.js"></script>
	<script type="text/javascript" src="/res/js/lib/json2.js"></script>	
	<script type="text/javascript" src="/res/js/lib/layer/layer.js"></script>
	<script type="text/javascript" src="/res/js/common/msgTools.js"></script>
	<script language="javascript" type="text/javascript" src="/res/js/lib/datePicker/WdatePicker.js"></script>		
<!-- 	<script type="text/javascript" src="/res/js/pages/user/userList.js"></script> -->
</head>
<body>
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">权限管理</a></li>
    <li><a href="#">模块列表</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    <form id="queryForm" action="/user/valid/list" method="post"> 
    <div class="tools" style="margin:3px 0px;background: #efefef;padding:6px 0px;">   
        <span class="toolbar" style="margin-left:10px;">
		   会员id：<input name="userName" value="${userName}" type="text" class="dfinput" style="width:60px;"/>
		   状态：	
 			   <select class="dfinput"  name="level" style="width:150px;">
				<option value="">普通会员</option>
				<option value="vip">vip会员</option>
				<option value="gold">金钻会员</option>
			   </select>  
                       用户名：<input name="userName" value="${userName}" type="text" class="dfinput" style="width:150px;"/>
                       手机号：<input name="email" value="${email}" type="text" class="dfinput" style="width:200px;"/>
                       提现时间：<input id="d12" name="email" value="${email}" type="text" class="dfinput" style="width:200px;" onClick="WdatePicker()"/>
              <img onclick="WdatePicker({el:'d12'})" src="/res/js/lib/datePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle">至
              <input id="d13" name="email" value="${email}" type="text" class="dfinput" style="width:200px;" onClick="WdatePicker()"/>
              <img onclick="WdatePicker({el:'d13'})" src="/res/js/lib/datePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle">             
        </span>
    	<ul class="toolbar" style="margin-left:20px;">
	        <li onclick="$('#queryForm').submit()"><span><img src="/res/images/ico06.png" /></span>搜索</li>
        </ul>    
    </div>
    </form>

    <form id="listForm" action="/user/valid/list" method="post"> 
    <table class="tablelist">
    	<thead>
	    	<tr>
	        <th class="chk"><input id="chkAll" type="checkbox" value="" /></th>
	        <th>编号</th>
			<th>用户名 </th>
			<th>合伙人姓名</th>
			<th>省份 </th>
			<th>城市</th>
			<th>地区</th>
			<th>等级</th> 
			<th>日期</th> 
			<th>申请状态</th>
			<th>操作	</th>
	        </tr>
        </thead>
        <tbody>        
	        <c:forEach items="${list}" var="row" varStatus="status">
		        <tr>
		        <td align="center"><input id="chk_${row.id}" type="checkbox" value="${row.id}" /></td>
		        <td>${status.index+1}</td>
		        <td>${row.user_name}</td>
		        <td>${row.real_name}</td>
		        <td>${row.province_name}</td>
		        <td>${row.city_name}</td>
		        <td>${row.area_name}</td>
		        <td>${row.level_name}</td>
		        <td><fmt:formatDate value="${row.create_time}" pattern="yyyy-MM-dd HH:mm"/> </td>	  
		        <td>${row.status==1?"是":"否"}</td>
		        <td></td>
		        </tr> 
	        </c:forEach>
         </tbody>
    </table>   
    </form>
      
    <tags:pager pagerRange="10" pageSize="${pager.pageSize}" totalPage="${pager.pageCount}" curIndex="${pager.pageIndex}" rowCount="${pager.rowCount}" formId="queryForm"></tags:pager> 
 
    
    </div>
    
    <script type="text/javascript">
	   $('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>
